/** * Author: Simon-Pierre Boucher * Contact: contact@spboucher.ai * Project: Hilmacorp.ai — Web Platform * File: app/[locale]/industries/page.tsx * Description: Industries page — the twelve sectors served by Hilmacorp.ai */ import type { Metadata } from "next"; import Container from "@/components/Container"; import SectionHeading from "@/components/SectionHeading"; import { getMessages, isLocale, type Locale } from "@/lib/i18n"; export async function generateMetadata({ params, }: { params: Promise<{ locale: string }>; }): Promise { const { locale } = await params; if (!isLocale(locale)) return {}; const { meta } = getMessages(locale); return { title: { absolute: meta.industries.title }, description: meta.industries.description }; } export default async function IndustriesPage({ params, }: { params: Promise<{ locale: string }>; }) { const { locale } = await params; const { industries } = getMessages(locale as Locale); return ( <>
    {industries.items.map((industry) => (
  • {industry.title}

    {industry.body}

  • ))}
); }